/**
 * Created by rock on 16/6/1.
 */
$(document).ready(function(){

    var _wechatid = $("#wechat_div").text();
    if(_wechatid=="NA"){
        _wechatid = window.localStorage.getItem("wechatid");
    }
    else{
        window.localStorage.setItem("wechatid",_wechatid);
    }
    $("#appraisal_div").click(function(){
        var _eventid=$("#eventid_div").text()
        var url = 'openappraisal?evtid='+_eventid+'&'+'customerwechatid='+_wechatid;
        document.location = url;
        // window.open(url);
    });
});


